package ko;

import java.util.List;

public class KAnim {

	public float _frameRate;
	public int _frameCount;
	public boolean _loop;
	public List<Integer> _frames;
	public String _name;
	public KAnimMap _parent;

	public KAnim(String name, List<Integer> frames) {
		KAnimHelper(name, frames, 0, true);
	}

	public KAnim(String name, List<Integer> list, float frameRate, Boolean param4) {
		KAnimHelper(name, list, frameRate, param4);
	}

	public void KAnimHelper(String name, List<Integer> list, float frameRate, Boolean param4) {
		this._name = name;
		this._frames = list;
		this._frameRate = frameRate;
		this._loop = param4;
		this._frameCount = list.size();
	}

	public void play() {
		this._parent.play(this._name, false);
	}

	public void play(Boolean param1) {
		this._parent.play(this._name, param1);
	}

	public Boolean getLoop() {
		return _loop;
	}

	public int getFrameCount() {
		return _frameCount;
	}

	public float getFrameRate() {
		return _frameRate;
	}

	public List<Integer> getFrames() {
		return _frames;
	}

	public String getName() {
		return _name;
	}

}
